<div id="stat_div" style="width:100%;height:80px;overflow-y:scroll;overflow-x:hidden;margin-bottom:5px;">
<?php
if($this->roadStat && count($this->roadStat) > 0): ?>
<ul>
<?php foreach($this->roadStat as $stat): ?>
<li style="float:left;margin:4px;">
    <a href="javascript:void(0)" onclick="javascript:statRoadSearch('<?php echo $stat['road_id'] ?>')">{road_<?php echo $stat['road_id']?>}
    </a>&nbsp;-&nbsp;
    <a href="javascript:void(0)" onclick="javascript:statIndustrySearch('<?php echo $stat['industry_id'] ?>')">{industry_<?php echo $stat['industry_id']?>}
    </a>
    (<?php echo $stat['poi_count'] ?>)
</li>
<?php endforeach ?>
</ul>
<div class="clear"></div>
<?php else: ?>
没有数据
<?php endif; ?>
</div>
<?php
echo $this->toolbar->toHtml();
echo $this->grid->toHtml();
?>
<script language="javascript" type="text/javascript">
Kdf.globals.grids['<?php echo $this->grid->getId() ?>'] = new Kdf.Ui.Grid({
    grid:$('#<?php echo $this->grid->getId() ?>')
});

jQuery(function(){
    <?php if($this->roadStat && count($this->roadStat) > 0): ?>
    replaceRoadCode('stat_div');
    replaceIndustryCode('stat_div');
    <?php endif; ?>
    replaceRoadCode('choose_poi_grid');
    replaceIndustryCode('choose_poi_grid');
});
</script>